import request from '@/utils/request'
function getUrl(url) { return '/api/' + url }

//添加火情信息
export function addInNotice(data) {
    return request({
        url: getUrl("admin/notice/addInNotice"),
        method: 'post',
        data
    })
}

//更新火情信息
export function updateInNotice(data) {
    return request({
        url: getUrl("admin/notice/updateInNotice"),
        method: 'post',
        data
    })
}


export function deleteInNotice(data) {
    return request({
        url: getUrl("admin/notice/deleteInNotice"),
        method: 'post',
        data
    })
}



export function getInNoticeVo(data) {
    return request({
        url: getUrl("admin/notice/getInNoticeVo"),
        method: 'post',
        data
    })
}

export function updateMyNoticeFeedback(data) {
    return request({
        url: getUrl("admin/notice/updateMyNoticeFeedback"),
        method: 'post',
        data
    })
}


export function removeInNoticeInfo(data) {
    return request({
        url: getUrl("admin/notice/removeInNoticeInfo"),
        method: 'post',
        data
    })
}

export function deleteInNoticeInfo(data) {
    return request({
        url: getUrl("admin/notice/deleteInNoticeInfo"),
        method: 'post',
        data
    })
}

export function handleReaded(data) {
    return request({
        url: getUrl("admin/notice/handleReaded"),
        method: 'post',
        data
    })
}